﻿<%@ Page Language="C#" AutoEventWireup="false" Inherits="Web.BasePage"%>
    <%
        Server.Execute("Parts/V1/Security/Manage.aspx");
    %>
    <div class="mb5 clearfix">
        <div id="logo"></div>
        <div id="tr">
            <div class="search">
                <%--暂时隐藏搜索功能<label>搜索</label><input type="text" class="field" /><button>搜索</button>--%>
            </div>
            <p class="num">全国免费服务热线<br /><em>400-699-0831</em></p>
        </div>
    </div>
    <div id="nav">
        <b class="l"></b>
        <b class="r"></b>
        <ul id="main_nav">
            <li>
                <a href="default.aspx" class="cur">首  页</a>
                <ul></ul>
            </li>
            <li class="n2">
                <a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=10000000-0000-0000-0000-000000000001">公司概况</a>
                <ul style="display:none;">
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=10000000-0000-0000-0000-000000000001">公司介绍</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=10000000-0000-0000-0000-000000000002">组织架构</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=10000000-0000-0000-0000-000000000003">研发中心</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=10000000-0000-0000-0000-000000000004">公司资质</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=10000000-0000-0000-0000-000000000005">公司培训</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=10000000-0000-0000-0000-000000000006">企业文化</a></li>
                </ul>
            </li>
            <li class="n3">
                <a href="Default.aspx?Module=News&Action=Index">新闻资讯</a>
                <ul style="display:none;">
                    <li><a href="Default.aspx?Module=News&Handler=Category&Action=Index&ParentId=00000000-0000-0000-0000-000000000001">公司新闻</a></li>
                    <li><a href="Default.aspx?Module=News&Handler=Category&Action=Index&ParentId=00000000-0000-0000-0000-000000000002">行业资讯</a></li>
                </ul>
            </li>
            <li class="n4">
                <a href="Default.aspx?Module=Triliph&Action=Index">产品中心</a>
                <ul style="display:none;">
                    <li><a href="Default.aspx?Module=Triliph&Handler=Category&Action=Index&ParentId=00000000-0000-0000-0000-000000000001">美容食品</a></li>
                    <li><a href="Default.aspx?Module=Triliph&Handler=Category&Action=Index&ParentId=00000000-0000-0000-0000-000000000002">营养保健</a></li>
                </ul>
            </li>
            <li class="n5">
                <a href="javascript:;" target="_blank">主营品牌</a>
                <ul style="display:none;">
                    <li><a href="http://www.niuenjian.com/">纽恩健</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=About&Id=50000000-0000-0000-0000-000000000002">玉瘦</a></li>
                </ul>
            </li>
            <li class="n6">
                <a href="Default.aspx?Module=Knowledge&Action=Index">知识中心</a>
                <ul style="display:none;">
                    <li><a href="Default.aspx?Module=Knowledge&Handler=Category&Action=Index&ParentId=00000000-0000-0000-0000-000000000001">美容护肤</a></li>
                    <li><a href="Default.aspx?Module=Knowledge&Handler=Category&Action=Index&ParentId=00000000-0000-0000-0000-000000000002">营养保健</a></li>
                    <li><a href="Default.aspx?Module=Knowledge&Handler=Category&Action=Index&ParentId=00000000-0000-0000-0000-000000000003">科学瘦身</a></li>
                </ul>
            </li>
            <li class="n7">
                <a href="Default.aspx?Module=Company&Handler=Article&Action=HR&Id=20000000-0000-0000-0000-000000000001">人才中心</a>
                <ul style="display:none;">
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=HR&Id=20000000-0000-0000-0000-000000000001">人才策略</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=HR&Id=20000000-0000-0000-0000-000000000002">招聘职位</a></li>
                </ul>
            </li>
            <li class="n8">
                <a href="Default.aspx?Module=Company&Handler=Article&Action=Service&Id=30000000-0000-0000-0000-000000000001">服务支持</a>
                <ul style="display:none;">
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=Service&Id=30000000-0000-0000-0000-000000000001">授权查询</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=Service&Id=30000000-0000-0000-0000-000000000002">服务热线</a></li>
                </ul>
            </li>
            <li class="n9">
                <a href="Default.aspx?Module=Company&Handler=Article&Action=Contact&Id=40000000-0000-0000-0000-000000000001">联系我们</a>
                <ul style="display:none;">
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=Contact&Id=40000000-0000-0000-0000-000000000001">联系方式</a></li>
                    <li><a href="Default.aspx?Module=Company&Handler=Article&Action=Contact&Id=40000000-0000-0000-0000-000000000002">在线留言</a></li>
                </ul>
            </li>
        </ul>
        <div class="menu">
            <b class="sl"></b>
            <b class="sr"></b>
        </div>              
        <span class="shop"><a href="http://niuenjian.taobao.com" target="_blank">网上商城</a></span>
    </div>
<script type="text/javascript">

// 突出显示主导航
(function($){
    var li = $("#main_nav > li");
    var a = li.find(">a");

    var setCur = function(index){
            a.removeClass("cur").eq(index).addClass("cur");
            li.find(">ul").hide();
            li.eq(index).find(">ul").show();
    };
    
    $(function(){
        var module = "<%=this.Module %>" || "";
        var id = "<%=Request.QueryString["Id"] %>" || "";

        switch(module.toLowerCase()){
            case "company" : 
                if( 0==id.indexOf("1") )
                    return setCur(1);
                else if( 0==id.indexOf("2") )
                    return setCur(6);
                else if( 0==id.indexOf("3") )
                    return setCur(7);
                else if( 0==id.indexOf("4") )
                    return setCur(8);
            case "news":  return setCur(2);
            case "triliph" : return setCur(3);
            case "knowledge" : return setCur(5);
            default:  return setCur(0);
        }
    });

})(jQuery);

// 突出显示子导航
//....

// tab菜单
(function($){
    jqTabs("#main_nav>li","#main_nav>li>ul",{});
})(jQuery);

</script>